package cate.game.role.trace;

import cate.game.db.GameMongoDao;
import cate.game.role.Role;
import cate.game.role.RolePartGetter;
import org.springframework.data.mongodb.repository.MongoRepository;

public class RoleTraceGetter extends RolePartGetter<RoleTrace> {

    public RoleTraceGetter(Role role) {
        super(role);
    }

    @Override
    protected MongoRepository<RoleTrace, String> getRepo(GameMongoDao dao) {
        return dao.trace;
    }
}
